package com.fugood.mybigday.db;

public class ContactInfoCode {
	public static String gContact_Phone_Title(int code){
		String Title;
		switch(code){
		case 0:
			Title = "Custom";
			break;
		case 1:
			Title = "Home";
			break;
		case 2:
			Title = "Mobile";
			break;
		case 3:
			Title = "Work";
			break;
		case 4:
			Title = "Fax_Work";
			break;
		case 5:
			Title = "Fax_Home";
			break;
		case 6:
			Title = "Pager";
			break;
		case 7:
			Title = "Other";
			break;
		case 8:
			Title = "CallBack";
			break;
		case 9:
			Title = "Car";
			break;
		case 10:
			Title = "Company_Main";
			break;
		case 11:
			Title = "ISDN";
			break;
			
		default:
			Title = Integer.toString(code);
			break;
		}
		return Title;		
	}
	
	public static String gContact_Email_Title(int code){
		String Title;
		switch(code){
		case 0:
			Title = "Custom";
			break;
		case 1:
			Title = "Home";
			break;
		case 2:
			Title = "Mobile";
			break;
		case 3:
			Title = "Other";
			break;
		case 4:
			Title = "Work";
			break;
		
			
		default:
			Title = Integer.toString(code);
			break;
		}
		return Title;		
	}
}
